<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-10
  Time: 11:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="confirm">
    <div class="confirm_img">
        <img src="img/site/comformPayFlow.png" alt="">
    </div>
    <div class="confirm_time">
        <span class="confirm_time1">${order.createDateDesc}</span>
        <span class="confirm_time2">${order.payDateDesc}</span>
        <span class="confirm_time3">${order.deliveryDateDesc}</span>
    </div>
    <div class="confirm_info">
        <p>
            <b>我已收到货，同意支付宝付款</b>
        </p>
        <div class="confirm_infoTable">
            <p>
                订单信息
            </p>
            <table>
                <thead>
                <tr>
                    <th class="confirm_infoTitle_object" colspan="2">宝贝</th>
                    <th class="confirm_infoTitle_price">单价</th>
                    <th class="confirm_infoTitle_number">数量</th>
                    <th class="confirm_infoTitle_sum">商品总价</th>
                    <th class="confirm_infoTitle_express">运费</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${order.orderItems}" var="item" varStatus="st">
                    <tr>
                        <td  class="confirm_infoTable_img">
                            <img src="img/productSingle_middle/${item.product.firstProductImage.id}.jpg" alt="">
                        </td>
                        <td class="confirm_infoTable_name">
                            <a href="foreproduct?pid=${item.product.id}">${item.product.name}</a>
                        </td>
                        <td class="confirm_infoTable_price">
                            ￥<fmt:formatNumber type="number" value="${item.product.promotePrice}" minFractionDigits="2"/>
                        </td>
                        <td class="confirm_infoTable_number">
                                ${item.number}
                        </td>
                        <td class="confirm_infoTable_sum">
                            ￥<fmt:formatNumber type="number" value="${item.product.promotePrice*item.number}" minFractionDigits="2"/>
                        </td>
                        <td class="confirm_infoTable_express">
                            快递 ： 0.00
                        </td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
            <div class="pull-right confirm_infoPrice">
                <span>
                    实付款：<span class="confirm_myPrice">￥${order.total}</span>
                </span>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>

</div>
